package cn.wolfcode.qo;

import cn.wolfcode.util.UserContextUtil;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class NoticeQueryObject extends QueryObject{
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    private Integer level;
    private Integer read;
    private Long eid = UserContextUtil.getCurrentEmployee().getId();
}
